package cn.xej.boot_redis01.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@ToString
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
public class TbUser {

    /**
     * 用户主键id
     */
    @TableId(value = "user_id")
    public String userId;


    /**
     * 用户名称
     */
    @TableField(value = "name")
    public String name;

    /**
     * 用户密码
     */
    @TableField(value = "password")
    public String password;


}
